home *** CD-ROM | disk | FTP | other *** search
- echo $1 $2 $3 $4 $5 $6 $7
- #add leaving and returning to coversations
- if test $2 == Init
- move Connor 0 262980 301716 18615 0 0 -0.816666
- sendEvent 0 Connor KQAnimPlayEvent stop
- #KQCamera::follow none
- KQCamera::addCamLoc 260922 301517 20000 1
- KQCamera::cutToCamLoc 262386 301013 19000
- sendEvent 0 Unicorn KQAnimPlayEvent stop
- sendEvent 1 Unicorn KQCueEvent 1
- else if test $2 == TalkComplete
- if eval KQMonster::testMessage $3 $4 $5 $6 $7 1000 59 48 56 3
- KQCamera::follow none
- echo Is this the trouble maker?
- KQCamera::addCamLoc 259600 300000 19000 1
- KQCamera::cutToCamLoc 261708 301000 17215
- sendEvent 0.2 Unicorn KQAnimPlayEvent UG_CUT5a
- loadKQ Pyramid.kq
- #getEndLoop $1 $1 1
- else if eval KQMonster::testMessage $3 $4 $5 $6 $7 1000 59 48 56 6
- sendEvent 0 Unicorn KQAnimPlayEvent uni_gone
- KQCamera::follow Unicorn
-
- endif
- endif
- else if test $2 == Cue
- if test $3 == 1
- echo Speak, Unicorn! Speak!
- KQMonster::speak Unicorn Connor 1000 59 48 56 3 3
-
- else if test $3 == 2
- echo This is facinating dear unicorn pray continue.
- KQMonster::speak Unicorn Connor 1000 59 48 56 4 0
-
- endif
- endif
-
- else if test $2 == EndLoop
- if test $3 == UG_CUT5a
- KQCamera::addCamLoc 260922 301517 20000 1
- KQCamera::cutToCamLoc 262386 301013 19000
- echo end of UG_CUT5a
- #getEndLoop $1 $1 0
- give DarkPyramid
- deleteObject Pyramid
- sendEvent 0 Unicorn KQAnimPlayEvent stop
- sendEvent 1 Unicorn KQCueEvent 2
-
- else if test $3 == uni_gone
- echo kill the ugly mule
- deleteObject Unicorn
- KQCamera::follow Connor
- handsOff 0
- setThirdPerson
-
- endif
- endif
- endif
- endif
- endif
- endif
-